import Vue from 'vue'
import Router from 'vue-router'
import college from '@/components/college'
import collegeAdd from '@/components/collegeAdd'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'college',
      component: college
    },
    {
      path: '/collegeAdd',
      name: 'collegeAdd',
      component: collegeAdd
    },
    {
      path: '/college',
      name: 'college',
      component: college
    }
  ]
})
